.editor-body {
  overflow-y: scroll;

  .container {
    width: 100%;
  }

  form {
    margin: 0;
  }

  .editor-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #fff;
    border: 0;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
    z-index: 201;
    display: flex;
    align-items: center;
    padding-left: 24px;
    padding-right: 15px;
    .navbar-title {
      display: flex;
      align-items: baseline;
      flex: 1;
      a {
        color: #333;
      }
      .divider {
        color: #bbb;
        margin: 0 3px;
      }
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .navbar-buttons {
      text-align: right;
      > .btn-primary {
        background: none;
        box-shadow: none;
      }
      > .btn {
        text-align: center;
        margin-left: 5px;
        border: 0;
      }
      .doc-setting-box > .btn {
        text-align: center;
        margin-left: 5px;
        border: 0;
        font-size: 18px;
      }
      .dropdown-menu {
        text-align: left;
        right: 5px;
        top: 110%;
      }
    }
  }

  .main-container {
    padding: 0 !important;
  }
}

.editor-lock-window {
  position: absolute;
}

#editor-form {
  width: 100%;
  height: 70px;
  overflow: hidden;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0px;
}

.editor-container {
  position: absolute;
  top: 0px;
  left: 0;
  padding-top: 64px;
  width: 100%;
  min-height: calc(100vh);
  margin: 0;
}

.rich-editor-full {
  .editor-toolbar {
    position: fixed;
    left: 0;
    top: 64px;
    z-index: 100;
  }

  .editor-bg {
    padding: 100px 20px 50px;
    background: #f9f9f9;
    text-align: center;
    min-height: calc(100vh - 113px);
    position: absolute;
    width: 100%;
    z-index: 99;
  }

  .editor-box {
    margin: 0 auto;
    width: 950px;
    text-align: left;
    padding: 32px 64px;
    box-shadow: 0 1px 5px rgba(224, 224, 224, 0.64);
  }

  .editor-text {
    & > div {
      padding-top: 20px;
      min-height: 800px;
    }
  }

  .editor-body-text {
    border: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 800px;
    outline: none;
    font-size: 16px;
    padding-top: 20px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    -webkit-user-modify: read-write-plaintext-only;
  }
}

.rich-editor-inline {
  border: 1px solid #e9e9e9;
  border-radius: 3px;

  .editor-toolbar {
    padding: 8px;
    text-align: left;
    .container {
      margin: 0;
      padding: 0;
    }
  }

  .editor-box {
  }

  .editor-text {
    font-size: 14px;
    & > div {
      min-height: 170px;
    }
  }

  [data-active="true"] {
    &:before {
      display: none !important;
    }
  }
}

.editor-message {
  color: rgb(128, 125, 45);
  margin-left: 10px;

  .fas {
    font-size: 15px;
    vertical-align: middle;
  }
}

.editor-box {
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border-radius: 0px;
  padding: 24px;

  .editor-title {
    input {
      border: 0px;
      padding: 0;
      padding-bottom: 12px;
      font-size: 26px;
      width: 100%;
      outline: none;
      font-weight: bold;
    }

    border-bottom: 1px solid #eaeaea;
    margin-bottom: 0px;
  }
}

.doc-setting-box {
  .dropdown-menu {
    width: 450px;
  }
  .input-slug {
    min-width: 100px;
  }
}

.video-uploading {
  position: absolute;
  top: 35%;
  padding: 64px;
  width: 100%;
  text-align: center;

  .progress {
    text-align: left;
    margin: 0 auto;
    width: 400px;
    border-radius: 3px;
    height: 12px;
    background: #fff;
  }
}
